#include<stdio.h>
int main()
{
	char arr[80];
	gets(arr);
	int count = str(arr);

	printf("%d ", count);
	return 0;
}

int str(char* p)
{
	char* p1 = p;
	int count = 0;
	while (*p1 != '\0')
	{
		p1++;
	}
	return p1 - p;
}